package com.xyht.medicine_management_system.modules.collect.service;

import com.xyht.medicine_management_system.common.commonReturn.ResponseResult;
import com.xyht.medicine_management_system.modules.collect.entity.MmsMedicineCollect;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.medicine_management_system.modules.collect.entity.req.MmsMedicineCollectAddReq;
import com.xyht.medicine_management_system.modules.collect.entity.req.MmsMedicineCollectDeletedReq;

/**
 * <p>
 * 药品 药资源 收藏 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-12-11
 */
public interface MmsMedicineCollectService extends IService<MmsMedicineCollect> {

    ResponseResult addCollect(MmsMedicineCollectAddReq addReq, String userId);

    ResponseResult deletedCollect(MmsMedicineCollectDeletedReq deletedReq);

    ResponseResult getCollectList(Integer pageNum, Integer pageSize, String userId, Integer type);
}
